package AndroidHT.Workspace;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;

public class HowToUseHt extends Activity {
	
	public static String HowToUseHt = "HowToUseHt:";
	Context appContext;
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
	    super.onCreate(savedInstanceState);
	
	     setContentView(R.layout.howtouseht);
	     appContext = this.getApplicationContext();
	     Button button = (Button) findViewById(R.id.buttonEmpezarAhora);
	     
	     button.setOnClickListener(new OnClickListener()
		    {     

				public void onClick(View v) {
					
					Log.i(HowToUseHt,"Dentro OnClick");					
					
										
					startActivity(new Intent(appContext,WelcomeActivity.class));
					
				}
		    });
	    // TODO Auto-generated method stub
	}

}
